import RouteView from "@/components/RouteView.vue";
const hooksRouters = [
  {
    path: "hooks",
    name: "Hooks",
    meta: { title: "hooks", icon: "Finished" },
    component: RouteView,
    children: [
      {
        path: "index",
        name: "Hooks-index",
        meta: { title: "什么是hooks" },
        component: () => import("@/views/hooks/Index.vue"),
      },
      {
        path: "state",
        name: "Hooks-state",
        meta: { title: "什么是state" },
        component: () => import("@/views/hooks/State.vue"),
      },
    ],
  },
];

export default hooksRouters;
